﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using pay.DAL;
using pay.Entity;
namespace pay.BLL
{
    public class OrderDetailBLL
    {
        OrderDetailDAL orderDetailDAL = new OrderDetailDAL();
        public List<OrderDetails> GetOrderByOrderNumber(string orderNumber)
        {
            OrderQuery oq = new OrderQuery();
            //oq.Sign = 0;
            //oq.Id = 0;
            //oq.Username = "";
            //oq.Where = "";
            oq.OrderNumber = orderNumber;
            return orderDetailDAL.GetOrderDetailByID(oq);
        }

        public string GetActiveUserPwd(string mobile, int timetype)
        {
            return orderDetailDAL.GetActiveUserPwd(mobile,timetype);
        }
        public string GetActiveUserPwd1(string mobile, int timetype)
        {
            return orderDetailDAL.GetActiveUserPwd1(mobile, timetype);
        }
    }
}
